<%@ page language="java" contentType= "text/html" pageEncoding="UTF-8"%>
<%@include file="/include/common/griduihead1.jsp"%>
<%@include file="/include/common/griduihead2.jsp"%>
<%
	page1.getPageTitle().setTitle("表格頁面1");
	//page1.getToolbar().setEnab(false);//禁用工具栏
	//page1.getPageTitle().setEnab(false);//禁用页面标题
	
	 
%>
<jm:form>
<jm:layout postion="north">
	<jm:toolbar />
	<jm:pageTitle />
	<jm:sp id="sp1" data="<%=Utils.TAG_FORM%>" tabSize="2">
		<jm:tab colModel="50%;50%;">
			<input caption="測試23" name="test1" type="text" />
			<input caption="測試211" name="test2" type="text" />
		</jm:tab>
		
		<jm:tab colModel="50%;50%;">
			<input caption="測試3" name="test1" type="text" />
		</jm:tab>
	</jm:sp> 
	<jm:error></jm:error>
</jm:layout>

<jm:layout postion="center" export="true">
	<jm:export sheetname="测试" jxl="true">
	<jm:table id="grid1">
		<jm:thead >
			<tr>
				<td width="50%">測試1</td>
				<td width="50%">測試2</td>
			</tr>
		</jm:thead>
		<jm:tbody>
			<tr><td>data1</td><td>data2</td></tr>
			<tr><td>data1</td><td>data2</td></tr>
			<tr><td>data1</td><td>data2</td></tr>
			<tr><td>data1</td><td>data2</td></tr>
			<tr><td>data1</td><td>data2</td></tr>
			<tr><td>data1</td><td>data2</td></tr>
			<tr><td>data1</td><td>data2</td></tr>
			<tr><td>data1</td><td>data2</td></tr>
		</jm:tbody>
		<jm:tfoot>
			<tr>
				<td colspan="2">总计信息2</td>
			</tr>
			<span>sssss</span>
		</jm:tfoot>
	</jm:table>
	</jm:export>
</jm:layout>

<jm:layout postion="south"/>
</jm:form>
<jm:script><script type="text/javascript" charset="UTF-8">
	//以下定义 action function ,on+action 命名function
	//search action
	//function onsearch(actionvalue,p){
		//submitForm(p);
	//}
	
	//以下定义 validate function  , function  以v_ 开头
	
	//以下定义 ajax function	, function  以ajax_ 开头
	
	//以下定义其它function ,命名要取有意义的名称
	
	$(function(){
		//以下定义文档加载完之后执行的js
	});
</script></jm:script>
<%@include file="/include/common/griduiend.jsp"%>